//
//  HPAcitivityTableViewCell.m
//  SXH
//
//  Created by Ryan on 16/6/21.
//  Copyright © 2016年 lyss. All rights reserved.
//

#import "HPAcitivityTableViewCell.h"
#import "UIImageView+WebCache.h"
@implementation HPAcitivityTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(HPActivityModel *)model
{
    _model = model;
    self.timeLabel.text = model.insert_time;
    [self.pic sd_setImageWithURL:[NSURL URLWithString:IMAGE_STRING(model.pic_thumb)]];
}

@end
